import request from '@/router/axios';

//获取版本号
export const getVersion = () => request({
    url: '/api/version',
    method: 'get'
});

//获取信息
export const getSysInfo = () => request({
    url: '/api/Config/Sys/Get',
    method: 'get'
});
//更新信息
export const updateSysInfo = data => request({
    url: '/api/Config/Sys/Update',
    method: 'post',
    data
});
